<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%>
<%@ taglib uri="/mytag" prefix="yjd"%>
<body>
	<div class="wrap">
		<div class="h_a">搜索</div>
		<div class="search_type cc mb10">
			<form action="?" method="get" autocomplete="off">
				<input type="hidden" name="c" value="LogsUser"> <input
					type="hidden" name="a" value="login"> <label>会员：</label><input
					name="keys" type="text" class="input length_4 mr10" value=""
					placeholder="用户名/姓名/手机/邮箱/身份证">
				<button type="submit" class="btn">搜索</button>
			</form>
		</div>
		<!-- 
		<div class="mb10">
			<a href="<yjd:url url="/LogsUser/del"/>" class="btn btn_orange J_ajax_del"
				data-msg="确定删除？" id="J_ajax_del">清除1个月之前的记录</a>
		</div>
		 -->
		<div class="table_list">
			<table width="100%">
				<thead>
					<tr>
						<td width="50">id</td>
						<td width="150">登录时间</td>
						<td>会员账户</td>
						<td>手机</td>
						<td>邮箱</td>
						<td>姓名</td>
						<td>身份证</td>
						<td>IP</td>
						<td>地址</td>
					</tr>
				</thead>
				<tbody id="J_word_list">
					<c:forEach items="${pager.pagerModel.dataList }" var="item">
						<tr>
							<td>${item.user_id}</td>
							<td>${item.strMap.lastlogin}</td>
							<td>${userMap[item.user_id].username}</td>
							<td>${userMap[item.user_id].mobile}</td>
							<td>${userMap[item.user_id].email}</td>
							<td>${idInfo[item.user_id].idname}</td>
							<td>${idInfo[item.user_id].idcard}</td>
							<td>${item.ip}</td>
							<td>${item.ipdata}</td>
						</tr>
					</c:forEach>
				</tbody>
			</table>
		</div>
		<!-- 分页 -->
		<div id="J_page_wrap">
			<div class="pages">
				<c:forEach items="${pager.indexModels }" var="item">
					<c:if test="${item.isNum }">
						<c:if test="${item.pageIndex==pager.pagerModel.currentPage }">
							<strong>${item.pageIndex }</strong>
						</c:if>
						<c:if test="${item.pageIndex!=pager.pagerModel.currentPage }">
							<a href="${item.pageUrl }">${item.pageIndex }</a>
						</c:if>
					</c:if>
					<c:if test="${!item.isNum }">
						<span>${item.pageIndex }</span>
					</c:if>
				</c:forEach>
				${pager.pagerModel.count } 条记录 ${pager.pagerModel.currentPage
				}/${pager.pagerModel.pageCount } 页
			</div>
		</div>
	</div>
	<script>
		YJD.use('AppAdminCommon');
	</script>
</body>